@font-face {
  font-family: DS-DIGIT;
  src: url(../fonts/DS-DIGIT.TTF);
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  margin: 0 auto;
}
html {
  background: url('../images/bg.jpg') no-repeat top center;
  background-size: 100% 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-width: 1024px;
  max-width: 1920px;
}
header {
  width: 100%;
  min-width: 1024px;
  max-width: 1920px;
  height: 3rem;
  background: url('../images/header.png') no-repeat top center;
  background-size: 100% 100%;
  position: fixed;
  top: 0;
  margin: 0 auto;
  display: none;
  span {
      font-size: 20px;
      line-height: 2.8rem;
      color: #fff;
      display: block;
      text-align: center;
  }
}
// 动画
.header-hide {
  display: block;
  transform: translateY(-100%);
  transition: 1s all ease;
}
.header-show {
  display: block;
  transform: translateY(0);
  transition: 1s all ease;

}
.mainbox {
    flex: 1;
    display: flex;
    padding: 4rem 1rem 0;
    .column {
        flex: 3;
        &:nth-child(2) {
            flex: 5;
            padding: 0 1rem;
            .time {
              background: rgba(255, 255, 255, 0.144);
              padding: 1rem;
              color: #fff;
              p:first-child {
                display: inline-block;
                text-align: center;
                display: flex;
                border: 1px solid rgba(255, 255, 255, 0.1);
                position: relative;
                &::before {
                  width: 3rem;
                  height: 1rem;
                  border-top: 1px solid lightblue;
                  border-left: 1px solid lightblue;
                  content: '';
                  position: absolute;
                  top: 0;
                  left: 0;
                  transform: translate(-1px ,-1px);
                }
                &::after {
                  width: 3rem;
                  height: 1rem;
                  border-bottom: 1px solid lightblue;
                  border-right: 1px solid lightblue;
                  content: '';
                  position: absolute;
                  bottom: 0;
                  right: 0;
                  transform: translate(1px ,1px);
                }
                span {
                  flex: 1;
                  font-size: 40px;
                  margin: 0.9rem 0;
                  font-family: DS-DIGIT;
                  color: rgb(248, 224, 86);
                  &:first-child {
                    border-right: 1px solid lightblue;
                  }
                }
              }
              p:last-child {
                display: flex;
                b {
                  flex: 1;
                  text-align: center;
                  margin-top: 1rem;
                  font-size: 18px;
                }
              }
            }
            .map {
              height: 50rem;
              margin-top: 1rem;
              background: url('../images/map.png') no-repeat center center;
              background-size: 40rem 40rem;
              padding: 1rem;
              position: relative;
              overflow: hidden;
              &::before {
                content: '';
                width: 48rem;
                height: 48rem;
                position: absolute;
                top: 50%;
                left: 50%;
                background: url('../images/lbx.png') no-repeat center center;
                background-size: 100% 100%;
                animation: rotateball 30s linear infinite;
              }
              &::after {
                content: '';
                width: 43.5rem;
                height: 43.5rem;
                position: absolute;
                top: 50%;
                left: 50%;
                background: url('../images/direct.png') no-repeat center center;
                background-size: 100% 100%;
                animation: rotatedirect 20s linear infinite;
              }
            }
        }
        .model {
          width: 100%;
          height: 20rem;
          background: rgba(255, 255, 255, 0.144);
          position: relative;
          margin-bottom: 1rem;
          padding: 0.5rem;
          display: flex;
          justify-content: space-between;
          flex-direction: column;
          .model-head, .model-foot {
            width: 100%;
          }
          .model-head::before, .model-head::after, .model-foot::before, .model-foot::after {
            content: '';
            display: inline-block;
            width: 1rem;
            height: 1rem;
            border-top: 1px solid #fff;
            border-left: 1px solid #fff;
            position: absolute;
            top: 0;
            left: 0;
          }
          .model-head::after {
            border-top: 1px solid #fff;
            border-left: none;
            border-right: 1px solid #fff;
            top: 0;
            left: auto;
            right: 0;
          }
          .model-foot::before {
            border-top: none;
            border-bottom: 1px solid #fff;
            border-left: 1px solid #fff;
            top: auto;
            bottom: 0;
            left: 0;
          }
          .model-foot::after {
            border-top: none;
            border-bottom: 1px solid #fff;
            border-left: none;
            border-right: 1px solid #fff;
            top: auto;
            bottom: 0;
            left: auto;
            right: 0;
          }
          h2 {
            font-size: 16px;
            color: #fff;
            text-align: center;
            line-height: 30px;
            font-weight: normal;
          }
          .content {
            flex: 1;
          }
      }
    }
}

@keyframes rotateball {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes rotatedirect {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(-360deg); }
}
